<?php
if(isset($_GET['msg'])){
	//If the msg flag is set echo the corresponding message
	$msg = $_GET['msg'];
	switch ($msg){
	case 'ContainerNotEmpty':
	    echo 'Sorry, the container can not be deleted because it is not empty';		
		break; 
	case 'CatalogNotEmpty':
	    echo 'Sorry, the catalog can not be deleted because it is not empty';		
		break; 	
	default:
	}
}
?>